$(function () {
    
    $.ajax({
        url:"http://193.112.55.79:9090/api/getsitenav",
        type:"get",
        dataType:"json",
        success:function (res) {
            console.log(res);
            var htmlStr = template("sitenav",res);
            $("ul").html(htmlStr);
        }
    })

})